package com.exchangeek.server;

import com.sun.jersey.api.container.httpserver.HttpServerFactory;
import com.sun.net.httpserver.HttpServer;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * Project Name: Exchangeek_Server
 * Date Created: 2013/09/16 下午3:10
 *
 * @author Wings
 */
public class Main {

    public static void main(String[] args) throws IOException {
        final String URL = "http://localhost:9998/";
        HttpServer server = HttpServerFactory.create(URL);
        server.start();
        System.out.println("Server running . . .");
        System.out.println("Server started. Visit: " + URL);
    }
}
